package com.wfw.frist.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ Author     ：duanchao
 * @ Date       ： 16:37 2021/1/6
 * @ Description：
 */
@RestController
@RequestMapping("")
public class GatewayTestController {

    @Value("${spring.application.name}")
    private String applicationName;

    @RequestMapping("/test/name")
    public String getApplicationName(){
        return  applicationName;
    }
}